package com.zhuanzhuan.hero.user.dto.label;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * @ClassName QueryUserBoundLabelDTO
 * @Description
 * @Author hanjunjun
 * @Date 2024/6/19 15:23
 */
@Data
public class QueryUserBoundLabelDTO {

    /**
     * 标签类型:1-经营标签,2-优势介绍
     */
    @NotBlank(message = "labelType不可为空")
    @Pattern(regexp = "^[1,2]{1}$", message = "labelType格式错误")
    private String labelType;
}
